Don't copy all incoming fragmented packets.
authorack@localhost.localdomain <ack@localhost.localdomain>
Tue, 15 Aug 2006 14:48:31 +0000 (15:48 +0100)
committerack@localhost.localdomain <ack@localhost.localdomain>
Tue, 15 Aug 2006 14:48:31 +0000 (15:48 +0100)
commit7df96ad1456a1608cabebe2322418590b3949e09
tree0bd4fd0b9301f080b7a31960b335cc052d77b2a8
parent50f25faffc262b1db8301e77910a535f8210cbcb
Don't copy all incoming fragmented packets.
Some drivers (ie the e1000) hand up packets with the header in
the main area and the data in a fragment. Unless there are
multiple references on any of the data, we don't need to
make a full copy of those packets.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netback/netback.c